package wangy.pvp.basiclibrary.basicType;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class Assertion extends AssBasicType{
	
	private String name;
	private List<AssState> states;
	private List<AssIndicator> indicators;
	
	public Assertion(String name){
		this.setName(name);
		states = new ArrayList<AssState>();
		indicators = new ArrayList<AssIndicator>();
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public void addState(AssState as){
		states.add(as);
	}
	
	public Iterator<AssState> getState(){
		return states.iterator();
	}
		
	public void addIndicator(AssIndicator indicator){
		this.indicators.add(indicator);
	}

	public Iterator<AssIndicator> getIndicators(){
		return this.indicators.iterator();
	}
}
